← Back to issue list

Snapcraft should warn if it produces a snap that the store will reject

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1790004
Type
issue
State
open
Author
~ej-finneran
Labels
Created
2018-08-30 21:35:07.094081+00:00
Updated
2018-08-30 21:35:07.094081+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

It seems like there is a mismatch between the snapcraft tool and the store's review logic such that I can build a snap via snapcraft and have no indication there is a problem until I upload it to the store. Is there a way to normalize that logic so snapcraft can warn me before/during/after the build process with what problems I might need to address before attempting an upload? For example, I had a snap that was getting rejected with the following error: found errors in file output: unable to read or access files in 'squashfs-root' due to mode 'rwxrwsr-x', unable to read or access files in 'squashfs-root/meta' due to mode 'rwxrwsr-x', unusual mode 'rwxrwsr-x' for entry './meta/gui', unusual mode 'rwxrwsr-x' for entry './snap', unusual mode 'rwxr-sr-x' for entry './snap/.AppleDouble' security-snap-v2_squashfs_files It would be nice if snapcraft output a similar warning when the snap was built.

Evaluation history

No evaluation history available.